<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>产品分类列表</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" href="/css/modules.css" type="text/css"	media="screen" />
	<link rel="stylesheet" href="/css/modules1.css" type="text/css"	media="screen" />
	<link rel="stylesheet" href="/css/jquery-ui.css" type="text/css"	media="screen" />
	<link rel="stylesheet" href="/css/jquery.wysiwyg.css" type="text/css"	media="screen" />
	<script type='text/javascript' src="/js/jquery-1.4.2.min.js"></script>	
	<script type='text/javascript' src="/js/jquery.js"></script>
	<script type='text/javascript' src="/js/jquery-ui.js"></script>
	<script type='text/javascript' src="/js/jquery.wysiwyg.js"></script>
	<script type='text/javascript' src="/js/custom.js"></script>
	<script type='text/javascript'>
		function addPro(){
			jQuery("#addProduct").dialog();
			jQuery("#addProduct").dialog("open");
		}
	</script>
  </head>
  
  <body style="background-color:transparent">
   <div id="addProduct" style="display:none;" title="新建分类">
  		<form action="CategoryAction!add.action" method="post">
  			<p>
  				<label>分类名称:</label>
  				<input type="text" name="name" class="input-small"/>
  			</p>
  			<p>
  				<label>备注:</label>
  				<input type="text" name="" class="input-medium"/>
  			</p>
  			<p>
  				<input type="submit" value="确定" class="button"/>
  				<input type="button" value="取消" class="button"/>
  			</p>
  		</form>
  </div>
  <div style="padding:10px;">
  <h2 class="jquery_tab_title">产品分类列表
  <span style="float:right;">
  <input type="text" class="input-medium" value="请输入货物编号/名称/类型" />
  <input type="button" value="Search" class="button" />
  <a href="##">高级查询</a>
  </span>
  </h2>
  <input type="button" style="margin:10px;" value="+新建分类" class="button" onclick="addPro();" />
  </div>
	
 
  <div>
  	<table width="100%" cellpadding="0" cellspacing="0">
   		<tr><th class="th_first">&nbsp;</th>
   		<th>名称</th><th>操作</th></tr>
   	<s:iterator value="categoryList">
    	<tr>
    		<td class="td_first"><input type="checkbox" /></td>
    		<td>${name }</td>
    		<td>
    			<a href="">编辑</a>/
    			<a href="">删除</a>
    		</td>
    	</tr>
    </s:iterator>
    </table>
  </div>
   <div style="padding:10px;">
   		<span style="float:left">
		<!-- 
		<input type="button" value="选中全部" class="button" />
   		<input type="button" value="批量操作" class="button"/>
		
		-->
   			
   		</span>
   		<span style="float:right">
   			分页在这里!
   		</span>
   </div>
  </body>
</html>
